//
//  CommentModel.m
//  110
//
//  Created by 沈鑫 on 16/4/12.
//  Copyright © 2016年 乔砥. All rights reserved.
//

#import "CommentModel.h"

@implementation CommentModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

+ (NSMutableArray *)getData:(NSDictionary *)dic
{
    NSMutableArray *bigArray = [NSMutableArray array];
    NSDictionary *dic1 = dic[@"results"];
    NSMutableArray *array = dic1[@"List"];
    for (NSDictionary *dic2 in array)
    {
        CommentModel *model = [[CommentModel alloc]init];
        [model setValuesForKeysWithDictionary:dic2];
        [bigArray addObject:model];
    }
    return bigArray;
}
@end
